﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using Survey.BLL.EntriesEntities;
using Survey.Model.EntriesEntities;


namespace SurveyApp
{
    public class EntryPoint
    {
        [System.STAThreadAttribute()]
        static void Main()
        {

            LearningMaterialBo material = new LearningMaterialBo();
            //material.Entity.Description = "asdfasdf";
            material.Entity.MaterialCode = 10;
           // material.Entity.MaterialName = "abbbb";
            material.Entity.NumberOfPages = 100;
            material.Add(material.Entity);
            material.SaveChanges();

            IQueryable<LearningMaterial> asd = material.GetAll();
            var List = asd.ToList();

            //DirectorBo director = new DirectorBo();
            //director.Entity.Name = "Gabriel";
            //director.Add(director.Entity);
            //director.SaveChanges();



            App app = new App();
            app.InitializeComponent();
            app.Run();
        }
    }
}
